package com.fc.v2.model.auto;

import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;

import java.util.Date;

public class Ymjz implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "序号")
    @Excel(name = "序号")
    private Integer id;

    @ApiModelProperty(value = "部门")
    @Excel(name = "部门")
    private String bm;

    @ApiModelProperty(value = "下级部门")
    @Excel(name = "下级部门")
    private String xjbm;

    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名")
    private String xm;

    @ApiModelProperty(value = "性别")
    @Excel(name = "性别")
    private String xb;

    @ApiModelProperty(value = "民族")
    @Excel(name = "民族")
    private String mz;

    @ApiModelProperty(value = "出生日期")
    @Excel(name = "出生日期")
    private String csrq;

    @ApiModelProperty(value = "政治面貌")
    @Excel(name = "政治面貌")
    private String zzmm;

    @ApiModelProperty(value = "身份证号码")
    @Excel(name = "身份证号码")
    private String sfzhm;

    @ApiModelProperty(value = "参加工作时间")
    @Excel(name = "参加工作时间")
    private String cjgzsj;

    @ApiModelProperty(value = "职务")
    @Excel(name = "职务")
    private String zw;

    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话")
    private String lxdh;

    @ApiModelProperty(value = "家庭住址")
    @Excel(name = "家庭住址")
    private String jtzz;

    @ApiModelProperty(value = "核酸检测次数")
    @Excel(name = "核酸检测次数")
    private Integer hsjc;

    @ApiModelProperty(value = "第一次接种时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "第一次接种时间", importFormat = "yyyy-MM-dd", databaseFormat = "yyyy-MM-dd", exportFormat = "yyyy-MM-dd")
    private Date jzsj1;

    @ApiModelProperty(value = "第一次接种地点")
    @Excel(name = "第一次接种地点")
    private String jzdd1;

    @ApiModelProperty(value = "第二次接种时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "第二次接种时间", importFormat = "yyyy-MM-dd", databaseFormat = "yyyy-MM-dd", exportFormat = "yyyy-MM-dd")
    private Date jzsj2;

    @ApiModelProperty(value = "第二次接种地点")
    @Excel(name = "第二次接种地点")
    private String jzdd2;

    @ApiModelProperty(value = "第三次接种时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "第三次接种时间", importFormat = "yyyy-MM-dd", databaseFormat = "yyyy-MM-dd", exportFormat = "yyyy-MM-dd")
    private Date jzsj3;

    @ApiModelProperty(value = "第三次接种地点")
    @Excel(name = "第三次接种地点")
    private String jzdd3;

    @ApiModelProperty(value = "未接种原因")
    @Excel(name = "未接种原因")
    private String wjzyy;

    @ApiModelProperty(value = "创建人")
    private String byname;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "删除时间")
	private Date deleteTime;
	
	@JsonProperty("id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id =  id;
	}
	@JsonProperty("bm")
	public String getBm() {
		return bm;
	}

	public void setBm(String bm) {
		this.bm =  bm;
	}
	@JsonProperty("xjbm")
	public String getXjbm() {
		return xjbm;
	}

	public void setXjbm(String xjbm) {
		this.xjbm =  xjbm;
	}
	@JsonProperty("xm")
	public String getXm() {
		return xm;
	}

	public void setXm(String xm) {
		this.xm =  xm;
	}
	@JsonProperty("xb")
	public String getXb() {
		return xb;
	}

	public void setXb(String xb) {
		this.xb =  xb;
	}
	@JsonProperty("mz")
	public String getMz() {
		return mz;
	}

	public void setMz(String mz) {
        this.mz = mz;
    }

    @JsonProperty("csrq")
    public String getCsrq() {
        return csrq;
    }

    public void setCsrq(String csrq) {
        this.csrq = csrq;
    }

    public Ymjz(Integer id, String bm, String xjbm, String xm, String xb, String mz, String csrq, String zzmm, String sfzhm, String cjgzsj, String zw, String lxdh, String jtzz, Date jzsj1, String jzdd1, Date jzsj2, String jzdd2, Date jzsj3, String jzdd3, String wjzyy, String byname, Date createTime, Date updateTime, Date deleteTime) {

        this.id = id;

        this.bm = bm;

        this.xjbm = xjbm;

        this.xm = xm;

        this.xb = xb;

        this.mz = mz;

        this.csrq = csrq;

        this.zzmm = zzmm;

        this.sfzhm = sfzhm;

        this.cjgzsj = cjgzsj;

        this.zw = zw;

        this.lxdh = lxdh;

        this.jtzz = jtzz;

        this.jzsj1 = jzsj1;

        this.jzdd1 = jzdd1;

        this.jzsj2 = jzsj2;

        this.jzdd2 = jzdd2;

        this.jzsj3 = jzsj3;

        this.jzdd3 = jzdd3;

        this.wjzyy = wjzyy;

        this.byname = byname;

        this.createTime = createTime;

        this.updateTime = updateTime;

        this.deleteTime = deleteTime;

    }

    public Ymjz() {
        super();
    }

    @JsonProperty("zzmm")
    public String getZzmm() {
        return zzmm;
    }

    public void setZzmm(String zzmm) {
        this.zzmm = zzmm;
    }

    @JsonProperty("sfzhm")
    public String getSfzhm() {
        return sfzhm;
    }

    public void setSfzhm(String sfzhm) {
        this.sfzhm = sfzhm;
    }

    public Integer getHsjc() {
        return hsjc;
    }

    @JsonProperty("hsjc")
    public void setHsjc(Integer hsjc) {
        this.hsjc = hsjc;
    }

    @JsonProperty("zw")
    public String getZw() {
        return zw;
    }

    public void setZw(String zw) {
        this.zw = zw;
    }

    @JsonProperty("lxdh")
    public String getLxdh() {
        return lxdh;
    }

    @JsonProperty("cjgzsj")
    public String getCjgzsj() {
        return cjgzsj;
    }

    public void setCjgzsj(String cjgzsj) {
        this.cjgzsj = cjgzsj;
    }

    public void setLxdh(String lxdh) {
        this.lxdh = lxdh;
    }

    @JsonProperty("jtzz")
    public String getJtzz() {
        return jtzz;
    }

    public void setJtzz(String jtzz) {
        this.jtzz = jtzz;
    }

    @JsonProperty("jzsj1")
    public Date getJzsj1() {
        return jzsj1;
    }

    public void setJzsj1(Date jzsj1) {
        this.jzsj1 = jzsj1;
    }

    @JsonProperty("jzdd1")
    public String getJzdd1() {
        return jzdd1;
    }

    public void setJzdd1(String jzdd1) {
        this.jzdd1 = jzdd1;
    }

    @JsonProperty("jzsj2")
    public Date getJzsj2() {
        return jzsj2;
    }

    public void setJzsj2(Date jzsj2) {
        this.jzsj2 = jzsj2;
    }

    @JsonProperty("jzdd2")
    public String getJzdd2() {
        return jzdd2;
    }

    public void setJzdd2(String jzdd2) {
        this.jzdd2 = jzdd2;
    }

    @JsonProperty("jzsj3")
    public Date getJzsj3() {
        return jzsj3;
    }

    public void setJzdd3(String jzdd3) {
        this.jzdd3 = jzdd3;
    }

    @JsonProperty("wjzyy")
    public String getWjzyy() {
        return wjzyy;
    }

    public void setWjzyy(String wjzyy) {
		this.wjzyy =  wjzyy;
	}
	@JsonProperty("byname")
	public String getByname() {
		return byname;
	}

	public void setByname(String byname) {
		this.byname =  byname;
	}
	@JsonProperty("createTime")
	public Date getCreateTime() {
		return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @JsonProperty("updateTime")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setJzsj3(Date jzsj3) {
        this.jzsj3 = jzsj3;
    }

    @JsonProperty("jzdd3")
    public String getJzdd3() {
        return jzdd3;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @JsonProperty("deleteTime")
    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String dateToStringConvert(Date date) {
        if (date != null) {
            return DateUtil.format(date, "yyyy-MM-dd HH:mm:ss");
        }
        return "";
    }


}